/**
 * Copyright (C) 2016 Hyphenate Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *     http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyphenate.easeui;

public class EaseConstant {
    public static final String MESSAGE_ATTR_IS_VOICE_CALL = "is_voice_call";
    public static final String MESSAGE_ATTR_IS_VIDEO_CALL = "is_video_call";
    
    public static final String MESSAGE_TYPE_RECALL = "message_recall";
    
    public static final String MESSAGE_ATTR_IS_BIG_EXPRESSION = "em_is_big_expression";
    public static final String MESSAGE_ATTR_EXPRESSION_ID = "em_expression_id";
    
    public static final String MESSAGE_ATTR_AT_MSG = "em_at_list";
    public static final String MESSAGE_ATTR_VALUE_AT_MSG_ALL = "ALL";

    
    
	public static final int CHATTYPE_SINGLE = 1;
    public static final int CHATTYPE_GROUP = 2;
    public static final int CHATTYPE_CHATROOM = 3;
    
    public static final String EXTRA_CHAT_TYPE = "chatType";
    public static final String EXTRA_USER_ID = "userId";
    public static final String EXTRA_PHONE = "agent_phone";

    /**========环信扩展消息规则============*/
    public static final String EXTRA_USER   = "user";
    public static final String EXTRA_TYPE   = "type";
    public static final String EXTRA_TXT    = "msg_txt";
    public static final String EXTRA_LNG    = "longitude";
    public static final String EXTRA_LAT    = "latitude";
    public static final String EXTRA_ADDRESS = "address";

    public static final int TYPE_TXT = 1;
    public static final int TYPE_IMG = 2;
    public static final int TYPE_LOCATION = 3;
    public static final int TYPE_SHARE_LOCATION_START = 4;  //开始分享位置
    public static final int TYPE_SHARE_LOCATION = 5;        //正在分享位置
    public static final int TYPE_SHARE_LOCATION_END = 6;    //分享位置结束
    public static final int TYPE_ORDER = 7;//订单通知
    public static final int TYPE_SYSTEM = 8;//系统通知
    public static final int TYPE_GOODS = 9;//商家推送商品详情

    public static final String ADMIN = "wedoadmin";//系统用户，订单通知和系统通知使用该用户发送消息

    public static final String TAG = "EASE_CHAT";


}
